// Copyright (c) 2023 Presto Labs Pte. Ltd.
// Author: tianqiang

#pragma once

#include "coin2/exchange/base/api_util/auth_key.h"

class UniswapGrpcAuth {
 public:
  explicit UniswapGrpcAuth(const std::string& key_filepath)
      : key_(AuthKey::FromFile(key_filepath)) {}

  const std::string& GetWalletAddress() { return key_.access_key(); }

 private:
  AuthKey key_;
};
